package com.woniuxy.kaer.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sun
 * @since 2025年02月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("manager_log")
public class ManagerLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "manager_log_id", type = IdType.AUTO)
    private Integer managerLogId;

    @TableField("manager_id")
    private Integer managerId;

    /**
     * 管理员登录IP
     */
    @TableField("manager_ip")
    private String managerIp;

    @TableField("login_time")
    private LocalDateTime loginTime;

    /**
     * 0.成功  1.失败
     */
    @TableField("login_state")
    private Integer loginState;

    @TableField("login_address")
    private String loginAddress;


}
